/*点击高亮我们需要清除清除  设置为transparent 完成透明*/

* {
    -webkit-tap-highlight-color: transparent;
}


/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/

input {
    -webkit-appearance: none;
}


/*禁用长按页面时的弹出菜单*/

img,
a {
    -webkit-touch-callout: none;
}


/* 公共样式 */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.clearfix::before,
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

div {
    box-sizing: border-box;
}


/* 主体部分 */

body {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    font-size: 12px;
}

.first {
    width: 100%;
    height: 100px;
    /* background-color: skyblue; */
}


/* 第一条 */

.new {
    width: 100%;
}

.new ul li {
    height: 45px;
    line-height: 45px;
    float: left;
    background-color: #333;
    text-align: center;
    color: #fff;
}

.new li:nth-child(1) {
    width: 10%;
}

.new li:nth-child(1) img {
    width: 10px;
    vertical-align: middle
}

.new li:nth-child(2) {
    width: 15%;
}

.new li:nth-child(2) img {
    width: 30px;
    vertical-align: middle
}

.new li:nth-child(3) {
    width: 60%;
}

.new li:nth-child(4) {
    width: 15%;
    background-color: #F63515;
}


/* 第二条 */

.search {
    position: fixed;
    width: 100%;
    height: 44px;
    max-width: 640px;
    min-width: 320px;
    padding: 0 50px;
    overflow: hidden;
}

.search .xiao img {
    width: 20px;
}

.search .xiao {
    position: absolute;
    left: 14px;
    top: 13px;
}

.search .da {
    position: absolute;
    right: 7px;
    top: 13px;
    font-size: 14px;
    color: white;
}

.search .oo {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    margin-top: 5px;
    border-radius: 15px;
    font-size: 18px;
    background-color: white;
    padding-left: 33px;
    color: #666;
}

.search .oo::before {
    content: "";
    position: absolute;
    width: 21px;
    height: 16px;
    left: 10px;
    top: 10px;
    display: block;
    background: url(./images/jd-sprites.png) no-repeat 0 0;
    background-size: 200px 200px;
}

.search .oo::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 17px;
    left: 40px;
    top: 11px;
    display: block;
    background: url(./images/jd-sprites.png) no-repeat -82px 0;
    background-size: 200px 200px;
}


/* 第三行 */

.banner {
    width: 100%;
}

.banner img {
    display: block;
    width: 100%;
}


/* 第四行 */

.brand a {
    float: left;
    width: 33.3%;
}

.brand a img {
    display: block;
    width: 100%;
}


/* 第五行 */

.nav {
    padding: 10px 0;
}

.nav li {
    float: left;
    width: 20%;
    text-align: center;
}

.nav li img {
    width: 40px;
}

.nav li a {
    color: black;
    font-size: 14px;
}

.nav li p {
    margin-top: 5px;
}

.nav li:nth-child(n+6) {
    margin-top: 10px
}


/* 最后一行 */

.wrap ul li {
    float: left;
    width: 25%;
    border-left: 1px solid #ccc;
}

.wrap ul img {
    width: 100%;
    display: block;
}

.wrap li:first-child {
    width: 50%;
    border-left: 0;
}